Remove framework initialization code
authorJohn Ralls <jralls@ceridwen.us>
Sat, 11 May 2013 00:21:27 +0000 (17:21 -0700)
committerJohn Ralls <jralls@ceridwen.us>
Sat, 11 May 2013 00:25:58 +0000 (17:25 -0700)
This is left over from an old effort to bundle gtk and its dependencies
into a Mac OS X Framework. The effort was more or less successful but
proved difficult to maintain and impractical to use because gtk programs
don't use the special Framework include syntax.

gdk/quartz/gdkdisplay-quartz.c
gdk/quartz/gdkdisplaymanager-quartz.c

index 3c1a02236d1a7978a12f39669572fdf977dd2d96..bf0fcddba36eb7fd746149109e7a77c4af3d49f5 100644 (file)
@@ -345,8 +345,4 @@ gdk_quartz_display_class_init (GdkQuartzDisplayClass *class)
    */
   TransformProcessType (&psn, kProcessTransformToForegroundApplication);
 
-  /* Initialize GTK+ framework if there is one. */
-  _gtk_quartz_framework_init_ptr = dlsym (RTLD_DEFAULT, "_gtk_quartz_framework_init");
-  if (_gtk_quartz_framework_init_ptr)
-    _gtk_quartz_framework_init_ptr ();
 }
index 0b772db0b645981984305ac5381f7d8df45913ef..2058fcfda60fa42e847d688b5874318226c4ba9f 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "config.h"
 
-#include <dlfcn.h>
 #include <ApplicationServices/ApplicationServices.h>
 
 #include "gdkquartzdisplay.h"